﻿function es_popup_win(url,w,h) 
{
    var ContextWindow = window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+w+',height='+h+',screenX='+(screen.width-w)/2+',screenY='+(screen.height-h)/2+',left='+(screen.width-w)/2+',top='+(screen.height-h)/2)
    ContextWindow.focus();
    return false;
}
function setImageBorder(id) 
{
   
}
function showImageViewer(smallImageId, bigImageId)
{
    document.getElementById(bigImageId).src = document.getElementById(smallImageId).src.replace('boxsize=80', 'boxsize=400');
}